﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Reflection.Controller
{
    static class LoggerHelper
    {
        static bool outputToConsole = false;

        public static void Log(string format, params object[] para)
        {
            if (!outputToConsole)
                return;

            Console.WriteLine(string.Format(format, para));
        }

        public static bool OutputToConsole
        {
            get { return outputToConsole; }
            set { outputToConsole = value; }
        }
    }
}
